<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<html>
<head>
    <link rel="stylesheet" id="dashicons-css" href=" testJs/dashicons.min.css" type="text/css" media="all">
    <link rel="stylesheet" id="admin-bar-css" href=" testJs/admin-bar.min.css" type="text/css" media="all">
    <script>
        function show(id) {
            new Face("cb" + id).show()
        }
    </script>
</head>

<body>
<div id="wpadminbar" class="">
    <a class="screen-reader-shortcut" href="http://localhost/wordpress/#wp-toolbar" tabindex="1">跳至登陆</a>
    <div class="quicklinks" id="wp-toolbar" role="navigation" aria-label="工具栏" tabindex="0">
        <ul id="wp-admin-bar-root-default" class="ab-top-menu">
            <li id="wp-admin-bar-wp-logo" class="menupop">
                <a class="ab-item" aria-haspopup="true" href="http://localhost/wordpress/wp-admin/about.php">
                    <span class="ab-icon"></span>
                    <span class="screen-reader-text">关于微博</span>
                </a>
            </li>
            <li id="wp-admin-bar-wporg" class="menupop"><a class="ab-item" href="home?pageNum=1">我的首页</a></li>
            <li id="wp-admin-bar-documentation"><a class="ab-item" href="profile?action=all">我的博客</a></li>
            <li id="wp-admin-bar-support-forums"><a class="ab-item" href="friend">我的好友</a></li>
            <li id="wp-admin-bar-feedback"><a class="ab-item" href="collect">我的收藏</a></li>
            <li id="wp-admin-bar-shell"><a class="ab-item" href="shell?operation=NEWS&pageNum=1" target="_blank">神奇贝壳</a></li>
        </ul>
        <ul id="wp-admin-bar-top-secondary" class="ab-top-secondary ab-top-menu">
            <c:if test="${loginUser!=null}">
                <li id="wp-admin-bar-my-account" class="menupop with-avatar">
                    <a class="ab-item" aria-haspopup="true" href="#">
                        嗨，<span class="display-name">${loginUser.nickName}！</span>
                        <img alt="" src="${loginUser.images}"
                             srcset="http://2.gravatar.com/avatar/25a46e49c8ef9e5d1db5699428a89a85?s=52&amp;d=mm&amp;r=g 2x"
                             class="avatar avatar-26 photo" height="26" width="26"></a>
                    <div class="ab-sub-wrapper">
                        <ul id="wp-admin-bar-user-actions" class="ab-submenu">
                            <li id="wp-admin-bar-user-info">
                                <a class="ab-item" tabindex="-1" href="profile">
                                    <span class="display-name">个人主页</span>
                                </a>
                            </li>
                            <li id="wp-admin-bar-user-info">
                                <a class="ab-item" tabindex="-1" href="userInfoIndex">
                                    <span class="display-name">个人资料</span>
                                </a>
                            </li>
                            <li id="wp-admin-bar-edit-profile">
                                <a class="ab-item" href="message?userBId=-1">未读私信(${alerts.unRMNum})</a>
                            </li>
                            <li id="collect" class="wp-admin-bar-logout">
                                <a class="ab-item" href="atten_index">关注${loginUser.attention}</a>
                            </li>
                            <li id="wp-admin-bar-logout">
                                <a class="ab-item" href="#">我的微博</a>
                            </li>
                            <li id="wp-admin-bar-logout">
                                <a class="ab-item" href="profile_index?action=all">微博${loginUser.blogNumber}</a>
                            </li>
                            <li id="wp-admin-bar-logout">
                                <a class="ab-item" href="exit">[ 退出 ]</a>
                            </li>
                        </ul>
                    </div>
                </li>
            </c:if>
            <c:if test="${loginUser==null}">
                <li id="wp-admin-bar-my-account" class="menupop with-avatar">
                    <a href="/weibo/login" class="ab-item">
                        欢迎您，请登录!</a>
                </li>
            </c:if>


            <li id="wp-admin-bar-search" class="admin-bar-search">
                <div class="ab-item ab-empty-item" tabindex="-1">

                    <form action="http://localhost/wordpress/" method="get" id="adminbarsearch">
                        <input class="adminbar-input" name="s" id="adminbar-search" type="text" value=""
                               maxlength="150">
                        <label for="adminbar-search" class="screen-reader-text">搜索</label>
                        <input type="submit" class="adminbar-button" value="搜索"></form>
                </div>
            </li>
        </ul>
    </div>
</div>
<script type="text/javascript" src=" testJs/online.js"></script>
<script type="text/javascript" src="testJs/admin-bar.min.js "></script>
<script type="text/javascript" src="testJs/wp-embed.min.js "></script>

</body>
</html>